package com.bestcem.xm.user.service.dto.redis;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 用户登录缓存session对象
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/6 11:40
 */
@Getter
@Setter
public class UserLoginSessionDTO {

    /**
     * 手机号
     */
    @JsonProperty("mobile")
    @JSONField(name = "mobile")
    private String phone;

    /**
     * 	微信小程序用户openid
     */
    @JsonProperty("openid")
    @JSONField(name = "openid")
    private String wxMiniOpenid;
}
